package com.wyp168.gulimall.product.feign;

import com.wyp168.common.to.es.SkuESModel;
import com.wyp168.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gulimall-search")
public interface ESClient {
    @PostMapping(value = "/search/product")
    public R productStatusUp(@RequestBody List<SkuESModel> skuESModelList);
}
